/*****
 * 
 * 
 * *******司法救助帮助(judicial.html)********
 * 
 * 
 * ******/
/************获取下载文件列表**********/
    var howid,whereid
    var getTempletdata={
        url:"index/filesList",
        fromwho:'ld',
        sendData:{
            p: ''
        }
    };
    getAjaxSyn(getTempletdata,
        function(data){
            if(data.result==1){
                $.each(data.data,function(k,v){
                    if(v.name=='司法救助说明'&&v.status=='1'){
                        howid=v.id
                    }
                    if(v.name=='司法救助地址'&&v.status=='1'){
                        whereid=v.id
                    }
                })
            }
        },
        function(data){
            console.log(data.msg)
        }
    )


/************获取下载文件列表end**********/


/************页面跳转**********/
mui(".sfMenu").on('tap','p.otherMenu.sqjz',function(){
	mui.openWindow({
		url:'sqJiuzhu.html?tid='+howid,
	    id:'sqJiuzhu.html',
	});
})
mui(".sfMenu").on('tap','p.otherMenu.nlsq',function(){
	mui.openWindow({
		url:'nlsqJiuzhu.html?tid='+whereid,
	    id:'nlsqJiuzhu.html',
	});
})
mui(".sfMenu").on('tap','p.otherMenu.fjxz',function(){
	mui.openWindow({
		url:'fjXiazai.html',
	    id:'fjXiazai.html',
	});
})
/************页面跳转end**********/
